(function () {

    // Models
    App.Models.Person = Backbone.Model.extend({
        defaults: {
            name: 'jankerli',
            age: 0,
            job: 'no job'
        },

        validate: function (attrs) {
            if ( !attrs.name ) {
                console.log('no name');
            }

            if ( !attrs.age < 0 ) {
                console.log('no age');
            }
        }
    });


})();
